home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950726-19950929 / 000045_news@columbia.edu_Mon Jul 31 12:25:54 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19409
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 31 Jul 1995 08:26:06 -0400
  3. Received: by apakabar.cc.columbia.edu id AA01426
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 31 Jul 1995 08:26:03 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Help with input statement in a script file
  9. Date: 31 Jul 1995 12:25:54 GMT
  10. Organization: Columbia University
  11. Lines: 31
  12. Message-Id: <3vii4i$1cg@apakabar.cc.columbia.edu>
  13. References: <3v84vb$t3r@cwmills.umd.edu> <EZAHw07+wp8G084yn@twics.com>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <EZAHw07+wp8G084yn@twics.com>, Dan Kanagy <dkanagy@twics.com> wrote:
  18. : As far as I can tell, I seem to be experiencing the same problem.  I'm
  19. : trying to create a script to log in to a VMS system from a OS/2 PC.  I
  20. : can't use VMSLOGIN since the remote host has added an extra step to
  21. : the login process.  ...
  22. : No doubt the solution is trivial--once I know what it is.
  23. Take another look at the VMSLOGIN script.  Notice how it handles VMS's
  24. "What Are You?" query to the terminal.  At present (though not necessarily
  25. in the future), it is a cardinal principle that Kermit's terminal emulator
  26. is not active except when executing the CONNECT command.  Thus, anything
  27. the terminal emulator would have had to do during an interactive login must
  28. be done by your script.  Here is the relevant fragment from the current
  29. version of VMSLOGIN:
  30.  
  31.     minput 20 \27Z \27[c,-
  32.     xif success { -
  33.       out \27[\?1c,-
  34.       in 2 [6n,-
  35.       if succ out \27[24;80R -
  36.     } else { out \13},-
  37.  
  38. (By the way, this version has hardwired values for terminal ID and
  39. screen size, which could be fixed to reflect the actual terminal
  40. ID and screen size.)
  41.  
  42. If you have further trouble with VMSLOGIN'ing, send details by email to
  43. kermit@columbia.edu.
  44.  
  45. - Frank